package com.heima.user.Feign;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-wemedia")
public interface WmUserFeign {

    /**
     * 自媒体添加用户
     *
     * @param wmUser
     * @return
     */
    @PostMapping("/api/v1/user/seveWmUser")
    public ResponseResult seveWmUser(@RequestBody WmUser wmUser);
}
